package com.itheima.reflect;


import java.lang.reflect.InvocationTargetException;

/*
 提供通用框架，保存所有对象
* */
public class ReflectDemo {
    public static void main(String[] args) {
        MybatisUtil mybatisUtil = new MybatisUtil();
        Student s = new Student("zs",18);
        Teacher t = new Teacher("t",1235.56);
        mybatisUtil.save(s);
        mybatisUtil.save(t);
    }
}
